package com.example.demo.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Service;

import java.util.List;

public interface IBaseService <T> {



    List<T> getAll();

    T getById(int id);

    T save(T t);

     void delEntity(int id);

}
